﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;
/// <summary>
/// 显示FPS工具
/// </summary>
public class HUDFPS : MonoBehaviour {
    public Rect StartRect = new Rect(10f,10f,75f,50f);
    public bool updateColor = true;
    public bool allowDraw = true;
    public float frequency = 0.5f;
    public int nbDecimal = 1;
    private float accum;
    private int frames;
    private Color color = Color.white;
    public static string sFPS = string.Empty;
    private GUIStyle style;
    public float accumTime;

    private void Update()
    {
        
    }

    private void OnGUI()
    {
        
    }
}
